<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8" />
	<title>Document</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta name="description" content="Description" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
	<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css" />
	<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/sidebar.min.css" />

</head>

<body>
	<div id="app"></div>
	<script>
		window.$docsify = {
			name: "JS常用方法",
			repo: "docsifyjs/docsify",
			auto2top: true,
			loadSidebar: true,
			alias: {
				'/.*/_sidebar.md': '/_sidebar.md',
			},
			subMaxLevel: 3,
			sidebarDisplayLevel: 3,
			// 全文搜索
			search: {
				maxAge: 86400000, // 过期时间，单位毫秒，默认一天
				placeholder: '🔍  输入内容检索',
				noData: '未检索到结果',
				depth: 3, // 搜索标题的最大层级, 1 - 6
			},

			// 复制到剪切板
			copyCode: {
				buttonText: "复制",
				errorText: "Error",
				successText: "复制成功",
			},
			// 字数统计
			count: {
				countable: true,
				fontsize: "0.9em",
				color: "rgb(90,90,90)",
				language: "chinese",
			},
		};
	</script>
	<!-- Docsify v4 -->
	<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
	<!-- 复制到剪切板 -->
	<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
	<!-- 全文搜索 -->
	<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
	<!-- 字数统计 -->
	<script src="//unpkg.com/docsify-count/dist/countable.js"></script>
	<!-- 图片缩放 -->
	<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
	<!-- 折叠侧边栏 -->
	<script src="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.min.js"></script>
</body>

</html>